package com.night.icm.model.base.comprehensive_test;

import com.night.icm.model.business.SystemFileDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * IdeologicalPointDTO
 *
 * @author Liao ZhiYong
 * @date 2020/2/5
 */
@ApiModel(description = "思想分")
@Data
public class IdeologicalPointDTO {

    @ApiModelProperty(position = 110, value = "思想分id，自增")
    private String id;

    @ApiModelProperty(position = 120, value = "思想政治观念分,上限15分")
    @NotNull
    private Double politicalIdeaPoint;

    @ApiModelProperty(position = 130, value = "纪律观念分，上限14分")
    @NotNull
    private Double disciplineIdeaPoint;

    @ApiModelProperty(position = 140, value = "集体观念分，上限13分")
    @NotNull
    private Double collectiveIdeaPoint;

    @ApiModelProperty(position = 150, value = "基础文明修养分，上限13分")
    @NotNull
    private Double basicCivilizationPoint;

    @ApiModelProperty(position = 160, value = "学生公寓表现分，上限15分")
    @NotNull
    private Double apartmentPerformancePoint;

    @ApiModelProperty(position = 170, value = "社会实践分，上限15分")
    @NotNull
    private Double socialPracticePoint;

    @ApiModelProperty(position = 180, value = "奖励分，计算累计，需加分证明")
    @NotNull
    private Double rewardPoint;

    @ApiModelProperty(position = 190, value = "扣除分，计算累计，需核查是否瞒报")
    @NotNull
    private Double deductionPoint;

    @ApiModelProperty(position = 200, value = "思想分小计，未 *20%")
    @NotNull
    private Double ideologicalTotal;

    @ApiModelProperty(position = 360, value = "附件列表")
    private List<SystemFileDTO> files;

    @ApiModelProperty(position = 500, value = "附件ID列表")
    private List<String> fileIds;

//    @ApiModelProperty(position = 240, value = "思想分附件")
//    private List<ComprehensiveScoreAttachDTO> attaches;
}